﻿<#include "/common/h-ui-base-css.html">
<#include "/common/h-ui-base-js.html">
<link href="/ico.ico" rel="shortcut icon" type="image/x-icon" />
<title>唐盛科技</title>

<script type="text/javascript" src="/lib/jquery.contextmenu/jquery.contextmenu.r2.js"></script>
<body>
<header class="navbar-wrapper">
    <div class="navbar navbar-fixed-top">

        <div class="container-fluid cl"> <a class="logo navbar-logo f-l mr-10 hidden-xs" href="/main">${entity.globalShortNetName?default('Web系统')}</a> <a class="logo navbar-logo-m f-l mr-10 visible-xs" href="/aboutHui.shtml">H-ui</a>
            <span class="logo navbar-slogan f-l mr-10 hidden-xs">v1.0</span>
            <a aria-hidden="false" class="nav-toggle Hui-iconfont visible-xs" href="javascript:;">&#xe667;</a>
            <nav class="nav navbar-nav">
                <ul class="cl">
                    <li class="dropDown dropDown_hover"><a href="javascript:;" class="dropDown_A"><i class="Hui-iconfont">&#xe600;</i> 快捷操作 <i class="Hui-iconfont">&#xe6d5;</i></a>
                        <ul class="dropDown-menu menu radius box-shadow">
                            <#if shortlist??>
                                <#list shortlist as shortlist>
                                <li><a href="javascript:;" onclick="menu_short('${shortlist.menuName!}','${shortlist.menuUrl!}')"><i class="Hui-iconfont">&#xe616;</i> ${shortlist.menuName!}</a></li>
                                </#list>
                            </#if>
                        </ul>
                    </li>
                </ul>
            </nav>
            <nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">
                <ul class="cl">
                    <li id=""> <a href="#" title="系统首页"><i class="Hui-iconfont" style="font-size:18px">&#xe625;</i></a> </li>
                    <li id="index-user"> <a href="#" title="${user}" id="user-set" ><i class="Hui-iconfont" style="font-size: 18px;">&#xe62c;</i></a></li>
                    <li id="index-logout"> <a href="logout_tologout" title="退出系统"><i class="Hui-iconfont" style="font-size:18px;">&#xe726;</i></a></li>
                </ul>
            </nav>
        </div>
    </div>
</header>
<aside class="Hui-aside">
    <div class="menu_dropdown bk_2">
        <#list menu as menu>
            <#if menu.PARENT_ID=='0'>
                <dl id="${menu.MENU_ID}">
                    <dt><i class="Hui-iconfont ${menu.MENU_ICON}"></i> ${menu.MENU_NAME}<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
                    <dd>
                        <#if menu.subMenu??>
                            <ul>
                                <#list menu.subMenu as subMenu>
                                    <li><a data-href="${subMenu.MENU_URL}" data-title="${subMenu.MENU_NAME}" href="javascript:void(0)">${subMenu.MENU_NAME}</a></li>
                                </#list>
                            </ul>
                        </#if>
                    </dd>
                </dl>
            </#if>
        </#list>
    </div>
</aside>
<section class="Hui-article-box">
    <div id="Hui-tabNav" class="Hui-tabNav hidden-xs">
        <div class="Hui-tabNav-wp">
            <ul id="min_title_list" class="acrossTab cl">
                <li class="active">
                    <span title="我的桌面" data-href="welcome.html">我的桌面</span>
                    <em></em></li>
            </ul>
        </div>
        <div class="Hui-tabNav-more btn-group"><a id="js-tabNav-prev" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d4;</i></a><a id="js-tabNav-next" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d7;</i></a></div>
    </div>
    <div id="iframe_box" class="Hui-article">
        <div class="show_iframe">
            <iframe scrolling="yes" frameborder="0" src="iframe"></iframe>
        </div>
    </div>
</section>
<div class="contextMenu" id="Huiadminmenu">
    <ul>
        <li id="closethis">关闭当前 </li>
        <li id="closeall">关闭全部 </li>
    </ul>
</div>


<div id="dlg" class="easyui-dialog" style="width:400px" data-options="closed:true,modal:true,border:'thin',buttons:'#dlg-buttons'">
    <form id="fm" method="post" novalidate style="margin:0;padding:20px 50px">
        <h3>User Information</h3>
        <div style="margin-bottom:10px">
            <input name="firstname" class="easyui-textbox" required="true" label="First Name:" style="width:100%">
        </div>
        <div style="margin-bottom:10px">
            <input name="lastname" class="easyui-textbox" required="true" label="Last Name:" style="width:100%">
        </div>
        <div style="margin-bottom:10px">
            <input name="phone" class="easyui-textbox" required="true" label="Phone:" style="width:100%">
        </div>
        <div style="margin-bottom:10px">
            <input name="email" class="easyui-textbox" required="true" validType="email" label="Email:" style="width:100%">
        </div>
    </form>
</div>

<script>
    /*资讯-添加*/
    function menu_short(title,url){
        var index = layer.open({
            maxmin: true,
            type: 2,
            title: title,
            content: url
        });
        layer.full(index);
    }

    $('#user-set').click(function(){
        var url = '/user-set';
        var index = layer.open({
            title:'用户修改',
            type: 2,
            area: ['800px', '490px'],
            fixed: false, //不固定
            maxmin: false,
            content: url
        });
    })

</script>
</body>
